package com.j1ay.forum.model.dto.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author J1ay
 * @Date 2021/12/15 13:43
 * @Description 用户登录
 */

@Data
@ApiModel(value = "用户登录")
public class LoginParam {

    @ApiModelProperty(value = "账号名：手机号、昵称或邮箱", required = true)
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    private String password;

}
